﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Item.aspx.cs" Inherits="Manage_Member_Item" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<!--#include file="../js/html_head.inc"-->
<link rel="stylesheet" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" type="text/css" />
</head>

<body>
<%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
   <form id="form1" action="?act=<%=ActFlag %>" method="post" onsubmit="return validator(this)">
        <div class="mycolumn">
            <div class="columntitle"><%=ActName %>用户</div>
	            <table width="95%" align="center" cellpadding="3" cellspacing="3" >
	                <tr>
	                  <td align="left" width="130">
	                        <img src="../pic/icons/help.gif" alt="唯一标识此用户名的字符串"  onclick="helpInf(this)"/> 用户名：
	                  </td>
	                  <td align="left"> 
	                        <input name="Username" type="text" value="<%=modelMember.Username %>" valid="required" errmsg="请输入用户名。"/>
	                  </td>
	                </tr>
	                <tr style="display:<%=modelMember.UserID==0?"":"none" %>">
	                  <td align="left" width="130">
	                        <img src="../pic/icons/help.gif" alt="用于用户登录的密码"  onclick="helpInf(this)"/> 密码：
	                  </td>
	                  <td align="left"> 
	                        <input name="Password" type="password"  value="" valid="required" errmsg="请输入密码。"/>
	                  </td>
	                </tr>
	                <tr style="display:<%=modelMember.UserID==0?"":"none" %>">
	                  <td align="left" width="130">
	                        <img src="../pic/icons/help.gif" alt="和密码相同的密码"  onclick="helpInf(this)"/> 确认密码：
	                  </td>
	                  <td align="left"> 
	                        <input name="ChkPassword" type="password"  value="" valid="eqaul" eqaulName="Password" errmsg="确认密码和密码不相同。"/>
	                  </td>
	                </tr>
                    <tr>
	                  <td align="left" width="130">
	                        <img src="../pic/icons/help.gif" alt="用户组"  onclick="helpInf(this)"/> 用户组：
	                  </td>
	                  <td align="left" class="tdselect"> 
                          <select name="GroupID" id="Select2" style="border:1px solid red;width:162px;">
                            <%=KeRui.BLL.Common.GetSelectList(modelMember.GroupID, bllMember.GetSel())%>  
	                      </select>	                 
	                  </td>
	                </tr>
	                <tr>
	                  <td align="left" width="130">
	                        <img src="../pic/icons/help.gif" alt="帐户状态"  onclick="helpInf(this)"/> 帐户状态：
	                  </td>
	                  <td align="left" class="tdradio"> 
	                        <input type="radio" name="State" <%=modelMember.State==0?"checked":"" %>  value="0"/> 锁定 　　　<input type="radio" name="State" <%=modelMember.State==1?"checked":"" %>  value="1"/> 正常
	                  </td>
	                </tr>	                
                    <tr>
                        <td colspan="2" class="tdbutton" align="center" > 
	                        <input type="submit"  name="sub" value=" <%=ActName %> "/>
	                        <input type="button"  name="sub" value="返回 " onclick="javascript:location.href='list.aspx'" style="display:<%=modelMember.UserID==0?"none":"" %>"/>
	                        <input type="hidden" name="UserID" value="<%=modelMember.UserID %>" />
                        </td>
                    </tr>
	            </table>	
        </div>
    </form>
</body>
</html>
